﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleLibrary.License;
using SaleLibrary.Sale;

namespace SaleLibrary.Score
{
    /// <summary>
    /// 积分记录
    /// </summary>
    public interface IScoreRecord
    {
        /// <summary>
        /// 主键
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 关联客户
        /// </summary>
        IClient Client { get; set; }
        /// <summary>
        /// 积分记录类别
        /// </summary>
        IScoreRecordType RecordType { get; set; }
        /// <summary>
        /// 积分提供者
        /// </summary>
        IClient Provider { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        int OppositeLevel { get; set; }
        /// <summary>
        /// 注册记录
        /// </summary>
        ActiveCodeReg Reg { get; set; }//积分来源
        /// <summary>
        /// 激活码是否是试用版
        /// </summary>
        bool IsTrial { get; set; }
        /// <summary>
        /// 积分时间
        /// </summary>
        DateTime ScoreTime { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        double Score { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        string Description { get; set; }

    }
}
